﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProductPromotion.ascx.cs" Inherits="MpSoft.Web.Controls.Product.ProductPromotion" %>
<%@ Import Namespace="MpSoft.Library.CommonLibrary" %>
<ul class="list-prod-options">
    <asp:Repeater ID="rpList" runat="server">
        <ItemTemplate>
           <li class="prod-item item-<%# Container.ItemIndex%3 %>"><p class="cate"><img src="/Images/posts.gif" /><%# GetCategoy(Eval("CategoryID").ToString()) %></p><a class="img" href="<%# !string.IsNullOrEmpty(Eval("FormatUrl").ToString()) ? string.Format(Eval("FormatUrl").ToString(), Eval("ProductID")) : "" %>"><img src="<%# !string.IsNullOrEmpty(Eval("Images").ToString()) ? Eval("Images").ToString().Insert(8, "/_thumbs") : "" %>" /></a> <a class="name" href="<%# !string.IsNullOrEmpty(Eval("FormatUrl").ToString()) ? string.Format(Eval("FormatUrl").ToString(), Eval("ProductID")) : "" %>"><%# Eval("ProductName") %></a><pre class="price"><%# double.Parse(Eval("Price").ToString()) > 0 ? Filter.Money(Eval("Price").ToString()) : "Vui lòng liên hệ" %></pre></li>
        </ItemTemplate>
    </asp:Repeater>
</ul>